﻿using System;
using System.Collections.Generic;
using System.Text;
using Validate.Library;

namespace Authority.Model
{
    /// <summary>
    /// 菜单按钮保存信息
    /// </summary>
    public class MenuButtonsSaveRequest
    {

        /// <summary>
        /// 菜单唯一标识符
        /// </summary>
        [Validate(ValidateType.NotEmpty | ValidateType.MaxLength, MaxLength = 50, Description = "唯一标识符")]
        public string menuCode
        {
            get; set;
        }

        /// <summary>
        ///按钮Codes
        /// </summary>
        [Validate(ValidateType.NotEmpty,Description = "按钮Codes")]
        public List<string> buttonCodeList
        {
            get; set;
        }
    }
}
